video: ipu reg: Correct reserved1 array size in struct ipu_cm
authorLiu Ying <[email protected]>
Sun, 22 Dec 2013 05:02:41 +0000 (13:02 +0800)
committerAnatolij Gustschin <[email protected]>
Sun, 12 Jan 2014 21:59:21 +0000 (22:59 +0100)
The array reserved1 as a placeholder in the structure ipu_cm
should contain 4 32bit unsigned integer entries instead of 16
ones, because the placeholder is located bewteen the register
IPU_CH_DB_MODE_SEL_1 and the register IPU_ALT_CH_DB_MODE_SEL_0
with the address offsets of 0x154 and 0x168 respectively.

Reported-by: Robin Gong <[email protected]>
Acked-by: Robin Gong <[email protected]>
Cc: Stefano Babic <[email protected]>
Signed-off-by: Liu Ying <[email protected]>
drivers/video/ipu_regs.h

index 73e57ea999a4952ce2f3d27e3720b8cf3556c150..b2481a48679d2aecadac732a35427931ba337382 100644 (file)
@@ -171,7 +171,7 @@ struct ipu_cm {
        u32 gpr;
        u32 reserved0[26];
        u32 ch_db_mode_sel[2];
-       u32 reserved1[16];
+       u32 reserved1[4];
        u32 alt_ch_db_mode_sel[2];
        u32 reserved2[2];
        u32 ch_trb_mode_sel[2];